<%@ Page Language="C#" MasterPageFile="~/MasterPages/OneColumn.master" AutoEventWireup="true" Inherits="NopSolutions.NopCommerce.Web.AccountPage" CodeBehind="Account.aspx.cs"  %>

<%@ Register TagPrefix="nopCommerce" TagName="CustomerInfo" Src="~/Modules/Customer/CustomerInfo.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CustomerAddresses" Src="~/Modules/Customer/CustomerAddresses.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CustomerOrders" Src="~/Modules/Customer/CustomerOrders.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CustomerReturnRequests" Src="~/Modules/Customer/CustomerReturnRequests.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CustomerChangePassword" Src="~/Modules/Customer/CustomerChangePassword.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CustomerAvatar" Src="~/Modules/Customer/CustomerAvatar.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CustomerRewardPoints" Src="~/Modules/Customer/CustomerRewardPoints.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CustomerDownloadableProducts" Src="~/Modules/Customer/CustomerDownloadableProducts.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="ForumSubscriptions" Src="~/Modules/Forum/ForumSubscriptions.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="Server">
    <div class="block account">
        <h1 class="block-title"><%=GetLocaleResourceString("Account.MyAccount")%></h1>        
        <div class="block-content">
            <div class="tab" id="account-tabs">
                <dl class="nice contained tabs">
                    <dd><a href="#customer-info" title="" class="active"><%= GetLocaleResourceString("Account.CustomerInfo")%></a></dd>
                    <dd><a href="#customer-addresses" title=""><%= GetLocaleResourceString("Account.CustomerAddresses")%></a></dd>
                    <dd><a href="#customer-orders" title=""><%= GetLocaleResourceString("Account.CustomerOrders")%></a></dd>
                    <% if (SettingManager.GetSettingValueBoolean("ReturnRequests.Enable")) { %><dd><a href="#customer-return-requests" title=""><%= GetLocaleResourceString("Account.CustomerReturnRequests")%></a></dd><% } %>
                    <% if (SettingManager.GetSettingValueBoolean("Display.DownloadableProductsTab")) { %><dd><a href="#customer-downloadable-products" title=""><%= GetLocaleResourceString("Account.DownloadableProducts")%></a></dd><% } %>
                    <% if (OrderService.RewardPointsEnabled) { %><dd><a href="#customer-reward-points" title=""><%= GetLocaleResourceString("Account.RewardPoints")%></a></dd><% } %>
                    <dd><a href="#customer-change-password" title=""><%= GetLocaleResourceString("Account.ChangePassword")%></a></dd>
                    <% if(CustomerService.AllowCustomersToUploadAvatars) { %><dd><a href="#customer-avatar" title=""><%= GetLocaleResourceString("Account.Avatar")%></a></dd><% } %>
                    <% if (ForumService.AllowCustomersToManageSubscriptions && this.ForumService.ForumsEnabled) { %><dd><a href="#customer-forum-subscriptions" title=""><%= GetLocaleResourceString("Account.ForumSubscriptions")%></a></dd><% } %>
                </dl>
                <ul class="nice tabs-content contained">
                    <li id="customer-infoTab" class="active"><nopCommerce:CustomerInfo ID="ctrlCustomerInfo" runat="server" /></li>
                    <li id="customer-addressesTab"><nopCommerce:CustomerAddresses ID="ctrlCustomerAddresses" runat="server" /></li>
                    <li id="customer-ordersTab"><nopCommerce:CustomerOrders ID="ctrlCustomerOrders" runat="server" /></li>
                    <% if (SettingManager.GetSettingValueBoolean("ReturnRequests.Enable")) { %><li id="customer-return-requestsTab"><nopCommerce:CustomerReturnRequests ID="ctrlReturnRequests" runat="server" /></li><% } %>
                    <% if (SettingManager.GetSettingValueBoolean("Display.DownloadableProductsTab")) { %><li id="customer-downloadable-productsTab"><nopCommerce:CustomerDownloadableProducts ID="ctrlDP" runat="server" /></li><% } %>
                    <% if (OrderService.RewardPointsEnabled) { %><li id="customer-reward-pointsTab"><nopCommerce:CustomerRewardPoints ID="ctrlRewardPoints" runat="server" /></li><% } %>
                    <li id="customer-change-passwordTab"><nopCommerce:CustomerChangePassword ID="ctrlCustomerChangePassword" runat="server" /></li>
                    <% if(CustomerService.AllowCustomersToUploadAvatars) { %><li id="customer-avatarTab"><nopCommerce:CustomerAvatar ID="ctrlCustomerAvatar" runat="server" /></li><% } %>
                    <% if (ForumService.AllowCustomersToManageSubscriptions && this.ForumService.ForumsEnabled) { %><li id="customer-forum-subscriptionsTab"><nopCommerce:ForumSubscriptions ID="ctrForumSubscriptions" runat="server" /></li><% } %>
                </ul>
            </div>
        </div>
    </div>
</asp:Content>
